package com.example.dayu521.sg_oss.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * set acc=acc+1 where acc=old_acc
 * @TableName t_service_node
 */
@TableName(value ="t_service_node")
@Data
public class ServiceNode implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField(value = "first_key")
    private String first_key;

    /**
     * 
     */
    @TableField(value = "acc")
    private Long acc;

    /**
     * 
     */
    @TableField(value = "description")
    private String description;

    /**
     * 
     */
    @TableField(value = "date")
    private Date date;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}